package com.sunny.core.bean;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Id;

public class PolicyInfo extends BaseEntity{
	
	@Id
    private String policyInfoPid;
	
	private String policyMasterPid;

    private String policyCode;

    private String effectiveDate;

    private String payableDate;

    private String paymentPeriod;

    private String insurancePeriod;

    private String holderName;

    private String insuredName;

    private String postalAddress;

    private String holderPhoneNum;

    private String holderHomePhoneNum;

    private String agentName;

    private String orgCode;

    private String paymentMethod;

    private String insuranceName;

    private BigDecimal premiumPayable;

    private String oppeningBank;

    private String accountNum;

    private String policyStatus;

    private String paymentTimes;

    private String agentPhoneNum;
    
    private Integer mainFlag;//主险标志 0主险  1副险
    
    //TODO 拷贝属性
    public  void copyProperties(PolicyMaster policyMaster){
    	
    }

    public String getPolicyInfoPid() {
        return policyInfoPid;
    }

    public void setPolicyInfoPid(String policyInfoPid) {
        this.policyInfoPid = policyInfoPid == null ? null : policyInfoPid.trim();
    }

    public String getPolicyCode() {
        return policyCode;
    }

    public void setPolicyCode(String policyCode) {
        this.policyCode = policyCode == null ? null : policyCode.trim();
    }

    public String getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(String effectiveDate) {
        this.effectiveDate = effectiveDate == null ? null : effectiveDate.trim();
    }

    public String getPayableDate() {
        return payableDate;
    }

    public void setPayableDate(String payableDate) {
        this.payableDate = payableDate == null ? null : payableDate.trim();
    }

    public String getPaymentPeriod() {
        return paymentPeriod;
    }

    public void setPaymentPeriod(String paymentPeriod) {
        this.paymentPeriod = paymentPeriod == null ? null : paymentPeriod.trim();
    }

    public String getInsurancePeriod() {
        return insurancePeriod;
    }

    public void setInsurancePeriod(String insurancePeriod) {
        this.insurancePeriod = insurancePeriod == null ? null : insurancePeriod.trim();
    }

    public String getHolderName() {
        return holderName;
    }

    public void setHolderName(String holderName) {
        this.holderName = holderName == null ? null : holderName.trim();
    }

    public String getInsuredName() {
        return insuredName;
    }

    public void setInsuredName(String insuredName) {
        this.insuredName = insuredName == null ? null : insuredName.trim();
    }

    public String getPostalAddress() {
        return postalAddress;
    }

    public void setPostalAddress(String postalAddress) {
        this.postalAddress = postalAddress == null ? null : postalAddress.trim();
    }

    public String getHolderPhoneNum() {
        return holderPhoneNum;
    }

    public void setHolderPhoneNum(String holderPhoneNum) {
        this.holderPhoneNum = holderPhoneNum == null ? null : holderPhoneNum.trim();
    }

    public String getHolderHomePhoneNum() {
        return holderHomePhoneNum;
    }

    public void setHolderHomePhoneNum(String holderHomePhoneNum) {
        this.holderHomePhoneNum = holderHomePhoneNum == null ? null : holderHomePhoneNum.trim();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod == null ? null : paymentMethod.trim();
    }

    public String getInsuranceName() {
        return insuranceName;
    }

    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName == null ? null : insuranceName.trim();
    }

    public BigDecimal getPremiumPayable() {
        return premiumPayable;
    }

    public void setPremiumPayable(BigDecimal premiumPayable) {
        this.premiumPayable = premiumPayable;
    }

    public String getOppeningBank() {
        return oppeningBank;
    }

    public void setOppeningBank(String oppeningBank) {
        this.oppeningBank = oppeningBank == null ? null : oppeningBank.trim();
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum == null ? null : accountNum.trim();
    }

    public String getPolicyStatus() {
        return policyStatus;
    }

    public void setPolicyStatus(String policyStatus) {
        this.policyStatus = policyStatus == null ? null : policyStatus.trim();
    }

    public String getPaymentTimes() {
        return paymentTimes;
    }

    public void setPaymentTimes(String paymentTimes) {
        this.paymentTimes = paymentTimes == null ? null : paymentTimes.trim();
    }

    public String getAgentPhoneNum() {
        return agentPhoneNum;
    }

    public void setAgentPhoneNum(String agentPhoneNum) {
        this.agentPhoneNum = agentPhoneNum == null ? null : agentPhoneNum.trim();
    }

	public Integer getMainFlag() {
		return mainFlag;
	}

	public void setMainFlag(Integer mainFlag) {
		this.mainFlag = mainFlag;
	}

	public String getPolicyMasterPid() {
		return policyMasterPid;
	}

	public void setPolicyMasterPid(String policyMasterPid) {
		this.policyMasterPid = policyMasterPid;
	}
    
}